package li.dto;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
@Data
@Accessors(chain = true)
@TableName("tb_amount")
public class TbAmount {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String account;

    private Integer totalamount=1000;

    private Integer useamount=0;

    private Integer freeamount=1000;

    private Date createtime = new Date();

    private Integer state = 1;

}